package com.lkx.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lkx.domain.Api;
import com.lkx.domain.ApiAndType;

public interface ApiMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(Api record);

    int insertSelective(Api record);

    List<Api> selectListByOption(Map<String, Object> param);

    Api selectByPrimaryKey(@Param("id") Long id);

    List<ApiAndType> selectApiListByOption(Map<String, Object> param);

    int updateByPrimaryKeySelective(Api record);

    int updateByPrimaryKey(Api record);


}